<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>扫码领酒</title>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" href="../mui/css/mui.min.css"/>
    <style>
        .row {
            background: #FFFFFF;
            border-bottom: 1px solid #aaaaaa;
            height: 50px;
            line-height: 50px;
            text-align: center;
            font-size: 14px;
        }
        .row input {
            width: 250px;
            border: none;
            outline: none;
            font-size: 14px;
        }
        .row button {
            color: #FFFFFF;
            margin-top: 10px;
        }
    </style>
    <script src="../mui/js/mui.min.js"></script>
</head>
<body>
<header class="mui-bar mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">领酒</h1>
</header>
<div class="mui-content">
    <div class="row">
        <span>兑换码</span>
        <input type="text" class="receivenum" id="mobile" value="" placeholder="请输入兑换码"/>
        <input type="hidden" th:value="${type}" id="type" />
    </div>
    <!--<div class="row">-->
        <!--<span>领取类型</span>-->
        <!--<select id="receiveType" class="receivenum" style="width: 250px;" onchange="selectChange()">-->
            <!--<option value="0">请选择领取酒类型</option>-->
            <!--<option value="1">会员酒</option>-->
            <!--<option value="2">推广酒</option>-->
        <!--</select>-->
    <!--</div>-->
    <div class="row">
        <span>领酒数量</span>
        <input type="number" th:if="${type==1}" class="receivenum" id="alcoholNum" value="1" readonly="true" placeholder="请输入领取数量"/>
        <input type="number" th:if="${type==2}" class="receivenum" id="alcoholNum" value="" placeholder="请输入领取数量"/>
    </div>
    <div class="row">
        <button class="btn mui-bg-primary btn-small" id="receiveBtn">领取</button>
    </div>
</div>
<script src="../js/storeOperation.js"></script>
</body>
</html>